package main.java.game;

import java.util.Random;

public class DiceImpl implements Dice {
	
	public DiceImpl(){
		
	}

	@Override
	public Integer roll() {
		Random random = new Random();
		int roll = (Math.abs(random.nextInt()) % 6) + 1;
		return roll;
	}

}
